using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace AutomaticSubtitles.Service.DataAccess.Model
{
    /// <summary>
    /// 翻译记录表
    /// </summary>
    public class Auto_TranslationRecord : BaseModel
    {
        public Auto_TranslationRecord()
        {
        }

        public Auto_TranslationRecord(string id) : base(id)
        {
        }

        [Description("媒体ID")]
        public string MediaId { get; set; }

        [Description("名称")]
        public string Name { get; set; }

        [Description("目标语言")]
        public string TranslatedLanguage { get; set; }

        [Description("翻译后字幕路径")]
        public string TranslatedPath { get; set; }

        [Description("创建时间")]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 关联的媒体信息
        /// </summary>
        public virtual Auto_Media AutoMedia { get; set; }
    }
}
